home *** CD-ROM | disk | FTP | other *** search
/ Linux Cubed Series 8: LINUX Games / Linux Cubed Series 8 - LINUX Games.iso / games / video / fly8111-.000 / fly8111- / fly8 / shapes / house.vx < prev    next >
Text File  |  1979-12-31  |  1KB  |  49 lines

  1. /* --------------------------------- house.vx ------------------------------- */
  2.  
  3. /*
  4.  * This is part of the flight simulator 'fly8'.
  5.  * Author: Eyal Lebedinsky (eyal@ise.canberra.edu.au).
  6.  *
  7.  */
  8.  
  9. /*
  10.  * Object shape: O_HOUSE.
  11. */
  12.  
  13. #include "shape.h"
  14.  
  15. #define    W    5    /* half Width */
  16. #define    L    10    /* half Length */
  17. #define    H    3    /* ceiling Height */
  18. #define    R    2    /* Roof height above ceiling */
  19.  
  20. static VERTEX vx_house[] = {
  21.     {{   0,   -L, R+H}, V_MOVE},
  22.     {{  -W,   -L,   H}, V_DRAW},
  23.     {{  -W,   -L,   0}, V_DRAW},
  24.     {{   W,   -L,   0}, V_DRAW},
  25.     {{   W,   -L,   H}, V_DRAW},
  26.     {{   0,   -L, R+H}, V_DRAW},
  27.  
  28.     {{   0,    L, R+H}, V_DRAW},
  29.     {{  -W,    L,   H}, V_DRAW},
  30.     {{  -W,    L,   0}, V_DRAW},
  31.     {{   W,    L,   0}, V_DRAW},
  32.     {{   W,    L,   H}, V_DRAW},
  33.     {{   0,    L, R+H}, V_DRAW},
  34.  
  35.     {{  -W,   -L,   H}, V_MOVE},
  36.     {{  -W,    L,   H}, V_DRAW},
  37.  
  38.     {{   W,   -L,   H}, V_MOVE},
  39.     {{   W,    L,   H}, V_DRAW},
  40.  
  41.     {{  -W,   -L,   0}, V_MOVE},
  42.     {{  -W,    L,   0}, V_DRAW},
  43.  
  44.     {{   W,   -L,   0}, V_MOVE},
  45.     {{   W,    L,   0}, V_DRAW},
  46.  
  47.     {{   0,    0,   0}, V_EOF}
  48. };
  49.